.history-list {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid $gray-02;
  border-bottom: 0;
}
.commit-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  // padding: 10px 16px 8px;
  // border-radius: 4px;
  // background: $background-layout;
  // border: 1px solid $gray-02;
  line-height: 22px;
  &:hover {
    background-color: transparent !important;
  }
  &.use-for-card {
    min-height: 68px;
    padding: 4px 20px;
    background: #fff;
    border: 1px solid #e9ebf0;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    background-color: #fff;
    .users-avatar {
      display: none;
    }
    .commit-user-info.small {
      margin-left: 0;
      .user-name {
        color: var(--color-text1-2, #6e6e6e);
      }
    }
    .commit-msg-userinfo {
      margin-left: 0;
    }
    .yx-list-item-title {
      min-height: 22px;
      margin-bottom: 2px;
    }
  }
  &.use-for-list {
    background: #fff;
    margin: 0 12px;
    border: 0;
    border-bottom: 1px solid $gray-02;
    border-radius: 0;
    &:last-child {
      border-bottom: 0;
    }
  }
  .commit-msg {
    &-title {
      font-size: 14px;
      color: $gray-08;
      font-weight: 500;
      line-height: 22px;
      display: flex;
      align-items: center;
      min-height: 22px;
      word-break: break-all;
      div.#{$teamix-prefix}tag {
        margin: 0;
      }
    }
    &-desc {
      max-height: 400px;
      overflow: hidden;
      overflow-y: auto;
      font-size: 14px;
      line-height: 20px;
      color: $gray-06 !important;
      margin: 2px 0 5px;
      padding: 1px 12px;
      border-left: 2px solid $gray-04 !important;
    }
    &-userinfo {
      display: flex;
      align-items: center;
      color: #141414;
      margin-left: 5px;
      .user-name {
        display: block;
        line-height: 20px;
        font-size: 12px;
        height: 20px;
        max-width: 192px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-right: 8px;
        color: #6e6e6e;
        &.only-author {
          color: #1a1a1a;
        }
      }
      .user-action-des {
        font-size: 12px;
        color: var(--color-text1-2, #6e6e6e);
      }
    }
  }
  .commit-user-info {
    display: flex;
    margin-left: 16px;
    font-size: 14px;
    &.small {
      margin-left: 4px;
      font-size: 12px;
      line-height: 20px;
    }
    span {
      margin-right: 8px;
      &:last-child {
        margin-right: 0;
      }
    }
    .user-name {
      color: #6e6e6e;
      font-weight: bold;
    }
    .user-action-des {
      color: var(--color-text1-2, #6e6e6e);
    }
  }
  .commit-list-item-extra-actions-build {
    flex: 1 1;
  }
  .commit-list-item-extra-actions-count {
    width: 104px;
    color: var(--color-fill1-6, #8b8b8b);
    display: flex;
    justify-content: center;
    &-num {
      padding-bottom: 2px;
      margin-left: 4px;
    }
    &-active {
      display: flex;
      align-items: center;
    }
    &-active:hover {
      cursor: pointer;
      color: var(--color-brand1-6, #1b9aee);
    }
  }
  .commit-list-item-extra-actions-inner-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.branch-more-style {
  word-break: break-all;
  margin-right: 4px;
}
